﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="get_fee_form.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Accountant.get_fee_form" %>
<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
    <%var get_fee = new TblFeeController().FetchAll(); %>
    <%foreach (TblFee fee in get_fee)
      { %>
    <tr id="fee<%=fee.Id %>">
        <td class="packet<%=fee.Packet %>"><%=fee.Packet %></td>
        <td class="month<%=fee.Months %>"><%=fee.Months %></td>
        <td class="fee<%=fee.Fee %>"><%=fee.Fee %></td>
        <td class="special<%=fee.Special %>"><%=fee.Special %></td>
        <td><i onclick="edit_fee(<%=fee.Id %>)" class="fee-option-btn fa fa-edit" title="Chỉnh sửa"></i><i onclick="del_fee(<%=fee.Id %>)" class="fee-option-btn fa fa-trash" title="Xóa"></i></td>
    </tr>
    <%} %>
    <tr id="btn_fee_area">
        <td colspan="5" class="w3-center">
            <a onclick="btn_add_fee()" class="add-fee-btn w3-btn w3-teal" title="Thêm mức học phí" style=""><i class="fa fa-plus"></i>&nbsp;Thêm mức học phí</a>
            <a onclick="$('#fee-modal').fadeOut()" class="w3-btn w3-teal" title="Hủy" style=""><i class="fa fa-times"></i>&nbsp;Hủy</a>
            <a onclick="get_fee()" class="w3-btn w3-teal" title="Cập nhật"><i class="fa fa-refresh"></i>&nbsp;Cập nhật</a>
        </td>
    </tr>
</body>
</html>
